package com.ht.modules.system.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.ht.modules.system.entity.SysApk;
import com.ht.modules.system.entity.SysApkVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 *  apk版本升级
 * @Author:
 * @Date:   2020-07-01
 * @Version: V1.0
 */
public interface ApkMapper extends BaseMapper<SysApk> {

    List<SysApkVo> list(Page<SysApkVo> page, @Param("sysApkVo") SysApkVo sysApkVo,
                        @Param("column")String column, @Param("order")String order);

    int updateBatchByIds(@Param("colume")String colume, @Param("value")String value, @Param("ids")String[] ids);

    int updateApkVersionById(@Param("id") String id);

    Map<String, Object> getLatestLink();

    void updateIOSQRcode(@Param("filePath")String filePath);

    SysApk getApkInfoByVersion(@Param("apkVersion")String apkVersion);

}
